package org.rcgwt.client.ui.calendar.controller;

/**
 * A bit mask class that interacts on all renderer at same time (after modifying
 * model)
 * 
 * @author Elian ORIOU
 * 
 */

public class CalendarChangesMask {

	public static final int SPECIFIED_YEAR = 1;
	public static final int SPECIFIED_MONTH = 2;
	public static final int SELECT_MONTH = 4;
	public static final int SELECT_YEAR = 8;
	public static final int SELECT_WEEK = 16;
	public static final int UNSELECT_WEEK = 32;

	public static final int APPLY_STYLES = 64;
	public static final int REFRESH_GRID = 128;
	public static final int CLEAR_GRID = 256;

	public static final int CURRENT_DAY = 512;
	public static final int NEXT_CONTEXT = 1024;
	public static final int PREVIOUS_CONTEXT = 2048;

	public static final int NO_SELECTION = 4096;
	public static final int SELECTION = 8192;

	public static final int SELECT_FIRST_DAY = 16384;
	public static final int UNSELECT_YEAR = 32768;
	public static final int UNSELECT_MONTH = 65536;
	public static final int UNSELECT_DAY = 131072;
	public static final int SELECT_FIRST_DAYS = 262144;
	public static final int UNSELECT_DAYS = 524288;

	public static final int SELECTION_TYPE = 1048576;
	public static final int SELECT_WEEK_RANGE = 2097152;
	public static final int UNSELECT_WEEK_RANGE = 4194304;
	public static final int UNFOCUS_SELECTION = 8388608;
	public static final int CLEAR_SELECTION = 16777216;

	public static final int MIN_OVERFLOW = 33554432;
	public static final int MAX_OVERFLOW = 67108864;
}
